package com.grace.common;

public class Result {
	// 返回码
	private Integer  status;
	// 返回消息
	private String msg;
	// 返回数据对象
	private Object data;

	public Result() {
	}

	public Result(Integer status, String message) {
		this.status = status;
		this.msg = message;
	}

	public Result(Integer status, Object data) {
		this.status = status;
		this.data = data;
	}
	
	public Result(Integer status, String message,Object data) {
		this.status = status;
		this.msg = message;
		this.data = data;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public Integer getstatus() {
		return status;
	}

	public void setstatus(Integer status) {
		this.status = status;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

}
